<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    var user = {
        id: 1,
        account: "lampadmin",
        name: "内置管理员",
        age: 25,
        adduser: function () {
            console.log("添加普通用户");
        }
    };

    console.log(user.name);
    console.log(user.account);
    user.adduser();

</script>
</html>
